package com.own.business.system.user.common.em;

import com.own.base.BaseResponseCode;
import lombok.AllArgsConstructor;

/**
 * RegisterExceptionEnum
 *
 * @author chenxueli
 * @date 2021-6-24 15:57:56
 */
@AllArgsConstructor
@SuppressWarnings("all")
public enum RegisterExceptionEnum implements BaseResponseCode {

    DEFAULT("register_error", "register_error"),
    ACCOUNT_EXIST("account_exist", "账号已经注册"),
    ;

    private final String code;

    private final String desc;

    @Override
    public String code() {
        return this.code;
    }

    @Override
    public String desc() {
        return this.desc;
    }

}
